#! /bin/bash  
sleep 3s
gnome-terminal -x bash -c  "source ${HOME}/shenzhou_ws/devel/setup.bash;roslaunch mavros px4.launch tgt_system:=5 gcs_url:=udp://@192.168.1.100:12405;exec bash"
#gnome-terminal -x bash -c  "export PX4_HOME_LON=116.178524;export PX4_HOME_LAT=39.38525;export PX4_HOME_ALT=30;roslaunch px4 attack.launch;exec bash"
sleep 15s
gnome-terminal -x bash -c "source ${HOME}/shenzhou_ws/devel/setup.bash;roslaunch sfbd_udp udp.launch drone_id:=5 formation_number:=1;exec bash"
sleep 5s
gnome-terminal -x bash -c "source ${HOME}/shenzhou_ws/devel/setup.bash;roslaunch off_board_test main.launch drone_id:=5;exec bash"
wait  
exit 0  

